﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using com.iot.core.annotation;
using System.Xml.Linq;
using Newtonsoft.Json;
using Microsoft.EntityFrameworkCore;
using com.iot.core.data;
using System.ComponentModel.DataAnnotations;

namespace   com.iot.core.manager.htcls

{
    [Schema(Name = "HtClsDto", Description = "")]
    public class HtClsDto : BaseDto
    {




        [Comment("类英文名")]
        [Schema(Name = "类英文名", Description = "")]
        public string Ename { get; set; } = "";


        [Comment("类名称")]
        [Schema(Name = "类名称", Description = "")]
        public string Name { get; set; } = "";


        [Comment("类全名")]
        [Schema(Name = "类全名", Description = "")]
        public string FullName { get; set; } = "";


        [Comment("类备注")]
        [Schema(Name = "类备注", Description = "")]
        public string Memo { get; set; } = "";


        [Comment("fields")]
        [Schema(Name = "fields", Description = "")]
        public List<HtClsColDto> Fields { get; set; }


        [Comment("基类")]
        [Schema(Name = "基类", Description = "entity、dto、qto")]
        public string BaseType { get; set; } = "";


         

        [JsonIgnore]
        [Comment("clazz")]
        [Schema(Name = "clazz", Description = "")]
        public Type Clazz { get; set; }


    }
}

